package com.huafeng.attendance.service;

import java.util.List;
import com.huafeng.attendance.bean.Attendance;

/**
 * Attendance Service控制接口
 * @author waysoft
 */
public interface AttendanceService {
	/**
	 * 增加考勤表
	 * @param attendance
	 */
	public void save(Attendance attendance) throws Exception;
	
	/**
	 * 修改考勤表
	 * @param attendance
	 */
	public void update(Attendance attendance) throws Exception;	
	
	/**
	 * 根据本表主键删除
	 * @param attend_id 主键值
	 */
	public void deleteByAttend_id(Integer attend_id) throws Exception;
	
	/**
	 * 根据本表主键批量删除
	 * @param attend_ids主键数组
	 */
	public void deleteByAttend_id(Integer[] attend_ids) throws Exception;
	
	
	/**
	 * 根据主键查询唯一对象
	 * @param attend_id 主键值
	 */
	public Attendance findByAttend_id(Integer attend_id);

}
